
package com.dews.information.convert;

import com.dews.information.domain.dto.StudentInfoDTO;
import com.dews.information.domain.entity.StudentInfo;
import com.dews.information.domain.vo.StudentInfoVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 学生信息详情对象转换器
*
* @author qingfeng
* @date 2025-01-14
*/
@Mapper
public interface StudentInfoConvert {

    StudentInfoConvert INSTANCE = Mappers.getMapper(StudentInfoConvert.class);

    StudentInfo convert(StudentInfoVo bean);
    StudentInfoVo convert(StudentInfo domain);
    StudentInfo convert(StudentInfoDTO bean);
    List<StudentInfoVo> convert(List<StudentInfo> domains);
}
